module.exports = app => {
  const {
    controller,
    router,
    config: { api },
  } = app;

  router.post(`${api.v1}sendemail`, controller.email.sendEmail);
  router.post(`${api.v1}check_email_code`, controller.email.checkEmailCode);
};
